load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "cmd",
    srcs = [
        "deploy.go",
        "root.go",
    ],
    importpath = "github.com/edgelesssys/constellation/v2/debugd/internal/cdbg/cmd",
    visibility = ["//debugd:__subpackages__"],
    deps = [
        "//debugd/internal/debugd",
        "//debugd/internal/debugd/logcollector",
        "//debugd/internal/filetransfer",
        "//debugd/internal/filetransfer/streamer",
        "//debugd/service",
        "//internal/api/attestationconfigapi",
        "//internal/config",
        "//internal/constants",
        "//internal/file",
        "//internal/grpc/grpclog",
        "//internal/logger",
        "@com_github_spf13_afero//:afero",
        "@com_github_spf13_cobra//:cobra",
        "@org_golang_google_grpc//:grpc",
        "@org_golang_google_grpc//credentials/insecure",
    ],
)
